<template>
    <div @click="counter.increment()">
       {{ counter.count }}
    </div>
</template>
<script setup lang="ts">
import { useCounterStore2 } from '../stores/counter.ts'

const counter = useCounterStore2()

</script>